//
//  FiltrateViewController.h
//  pmmSS
//
//  Created by Mac book on 2017/9/14.
//  Copyright © 2017年 WTFSSD. All rights reserved.
//

#import "BaseViewController.h"
#import <WEPopover/WEPopoverController.h>


@class FiltrateViewController;
@protocol FiltrateViewControllerDelegate <NSObject>

//
@optional
-(void)FiltrateViewController:(FiltrateViewController*)viewController didClickResetButton:(UIButton*)resetButton;

-(void)FiltrateViewController:(FiltrateViewController*)viewController didClickOkButton:(UIButton*)okButton withSelectedCategorys:(NSDictionary*)categorys;

@end


@interface FiltrateViewController : BaseViewController
@property(nonatomic,assign)id<FiltrateViewControllerDelegate>delegate;

//

+(WEPopoverController*)pop;
+(WEPopoverController*)popWithDelegate:(id<FiltrateViewControllerDelegate>)delegate;
+(WEPopoverController*)popWithDelegate:(id<FiltrateViewControllerDelegate>)delegate completion:(void(^)())completion;



@end
